package com.wsm.springcloud_compose.compose_user_produce.business;


import com.wsm.springcloud_compose.compose_user_bean.response.SysUsersResponse;
import com.wsm.springcloud_compose.compose_user_produce.domain.SysPermissions;
import com.wsm.springcloud_compose.compose_user_produce.domain.SysRoles;
import com.wsm.springcloud_compose.compose_user_produce.domain.SysUsers;

import java.util.List;

/**
 * @name: UserBiz
 * @Author: wangshimin
 * @Date: 2019/11/20  10:47
 * @Description:
 */
public interface UserBiz {
    SysUsersResponse login(String userName);

    List<SysRoles> getRolesById(long id);

    List<SysPermissions> getPermissionsById(long id);
}
